POV-Ray : Newsgroups : povray.advanced-users : Random number generator needed ! : Re: Random number generator needed ! Server Time
29 Jul 2024 18:16:19 EDT (-0400)
  Re: Random number generator needed !  
From: Rune
Date: 20 Feb 2001 15:27:45
Message: <3a92d341@news.povray.org>
"Lutz-Peter Hooge" wrote:
> what about:
> #macro random(a,b)
> #local S = seed(a+b);
> rand(S)
> #end

Already tried such things, but the sequence is not at all random.

> For what do you need this? A subdivision-surface?

No, my particle system. If you want to know more about the particle system,
have a look at the animations recently posted by me in
povray.binaries.animations.

Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated January 28)
/ Also visit http://www.povrayusers.org


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.